package com.rybbaby.tss.tasks.core.task.service;


import com.rybbaby.tss.tasks.core.bean.PageBean;
import com.rybbaby.tss.tasks.core.task.entity.TssMemberAttendClassRecord;
import com.rybbaby.tss.tasks.core.web.service.IBaseService;

import java.util.List;
import java.util.Map;

/**
 * @description 会员报班记录表数据库操作服务接口
 * 
 * @author 雷春琼
 * 
 * @createDate 2017-08-24 下午2:43:28
 */
public interface ITssMemberAttendClassRecordService extends IBaseService<TssMemberAttendClassRecord> {

    /**
     * 根据会员课时包和班级id查询已报班信息
     * @param memberPackageId
     * @param classId
     * @return
     */
    List<Map<String,Object>> classDateList(String memberPackageId, String classId);

    /**
     * 根据会员课时包id分组查询会员报班记录
     * @param memberPackageId
     * @return
     */
    public PageBean tssMemberAttendClassRecordListGroupByClass(String memberPackageId, Integer pageNo, Integer pageSize);

}
